import request from '@/utils/request'

// 获取机构待费信息
export function getOrgacctpayOrgFee(year,orgCd) {
    return request({
        url: '/waterPrice/WiOrgacctY/'+year+'/'+orgCd,
        method: 'get',
    })
}
// 获取机构待费信息
export function getFarmacctpayOrgFee(year,farmCd) {
  return request({
      url: '/waterPrice/WiFarmacctY/'+year+'/'+farmCd,
      method: 'get',
  })
}
// 机构水费收缴
export function payOrgFee(data) {
    return request({
        url: '/waterPrice/WiOrgacctY/payOrgFee',
        method: 'post',
        data: data
    })
}
// 农户水费收缴
export function payFarmFee(data) {
    return request({
        url: '/waterPrice/WiFarmacctY/payFarmFee',
        method: 'post',
        data: data
    })
}